package main

import "fmt"

func main() {
	var i interface{}
	var f float64 = 1.222
	i = f
	x, ok := i.(float32)

	fmt.Println(x, ok)
}
